{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "LPR品种数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "651c8efd8e654c678e7138bcaeb3b584",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "  0%|          | 0/4 [00:00<?, ?it/s]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "      TRADE_DATE  LPR1Y  LPR5Y  RATE_1  RATE_2\n",
      "1551  2024-09-20   3.35   3.85    4.35     4.9\n",
      "1552  2024-10-21   3.10   3.60    4.35     4.9\n",
      "1553  2024-11-20   3.10   3.60    4.35     4.9\n",
      "1554  2024-12-20   3.10   3.60    4.35     4.9\n",
      "1555  2025-01-20   3.10   3.60    4.35     4.9\n",
      "1556  2025-02-20   3.10   3.60    4.35     4.9\n",
      "1557  2025-03-20   3.10   3.60    4.35     4.9\n",
      "1558  2025-04-21   3.10   3.60    4.35     4.9\n",
      "1559  2025-05-20   3.00   3.50    4.35     4.9\n",
      "1560  2025-06-20   3.00   3.50    4.35     4.9\n"
     ]
    }
   ],
   "source": [
    "import akshare as ak\n",
    "\n",
    "macro_china_lpr_df = ak.macro_china_lpr()\n",
    "print(macro_china_lpr_df.tail(10))"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
